* {
	padding: 0;
	margin: 0; }
  
  body {
	height: 100vh;
	background-color: #827593; }

  .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	}
	/* .container .search{
		align-items: center;
	} */

	.container .menu {
	  display: flex;
	  align-items: center;
	  width: 300px;
	  height: 85px; 
	  background: #f1f1f1;
	  border-radius: 80%;
	  box-shadow: 0 5px 15px -5px #00000070;
	  color: #827593;
	  overflow: hidden;
	  position: relative;
	}
	  .container .menu div {
		width: 100%;
		text-align: center; }
		.container .menu div span {
		  cursor: pointer; }
	.container .clock {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  width: 400px;
	  height: 150px;
	  background-color: #5f546e;
	  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6); }
	  .container .clock .clock-item {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		width: 60px;
		margin: 0 30px; }
		.container .clock .clock-item div {
		  font-size: 12px;
		  color: #ccc; }
		.container .clock .clock-item span {
		  font-size: 60px;
		  font-weight: 100;
		  color: #fff;
		  letter-spacing: 5px; }
		.container .clock .clock-item:not(:last-child)::after {
		  content: ":";
		  position: absolute;
		  top: 35%;
		  right: -22px;
		  font-size: 30px;
		  color: #fff; }
  
  .toast {
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 100px);
	width: 200px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none; }

	.container .ghost {
		/* 相对定位 */
		position: relative;
		width: 150px;
		height: 225px;
		/* 圆角属性 左上角和右上角为圆角 */
		border-radius: 75px 75px 0 0;
		background-color: #fff;
		/* 盒子阴影 inset是内阴影 啥都不加就是默认的外阴影(outset) */
		box-shadow: -17px 0 0 #dbdbdb inset, 0 0 50px #5939db;
		animation: ghost 2s infinite;
	}
	/* 眼睛 start */
	.container .ghost .ghostEyes {
		/* 弹性布局 */
		display: flex;
		/* 让元素平均分配宽度 */
		justify-content: space-around;
		width: 90px;
		padding-top: 70px;
		margin: 0 auto;
	}
	/* 利用两个伪元素做出卡姿兰大眼睛 */
	.container .ghost .ghostEyes::before,
	.container .ghost .ghostEyes::after {
		content: "";
		width: 15px;
		height: 25px;
		border-radius: 50%;
		background-color: #00034b;
	}
	/* 眼睛 end */
	
	/* 腮红 start  */
	/* 逻辑跟眼睛一样 */
	.container .ghost .ghostDimples {
		display: flex;
		justify-content: space-around;
		width: 130px;
		padding-top: 15px;
		margin: 0 auto;
	}
	.container .ghost .ghostDimples::before,
	.container .ghost .ghostDimples::after {
		content: "";
		width: 15px;
		height: 15px;
		border-radius: 50%;
		background-color: #ffbeff;
	}
	/* 腮红 end */
	
	/* 脚 start  */
	.container .ghost .ghostFeet {
		/* 这个主要是向让四只脚水平排列  */
		display: flex;
		/* 绝对定位 */
		position: absolute;
		bottom: -13px;
		width: 100%;
	}
	.container .ghost .ghostFeet .ghostFoot {
		width: 25%;
		height: 26px;
		border-radius: 50%;
		background-color: #fff;
	}
	/* 设置一下最后一个 让它跟身体的内阴影一样 */
	.container .ghost .ghostFeet .ghostFoot:last-child {
		/* 利用背景渐变色实现 to right 是从做到右 */
		background-image: linear-gradient(to right, #fff 30%, #dbdbdb 35%);
	}
	/* 脚 end */
	
	/* 阴影 start */
	.container .shadow {
		width: 150px;
		height: 40px;
		margin-top: 50px;
		border-radius: 50%;
		background-color: white;
		opacity: 0.2;
		/* 动画  名称 时长 infinite是无限次播放 */
		animation: shadow 2s infinite;
	}
	/* 阴影 end */
	/* 然后制作漂浮的动画 */
	@keyframes ghost {
		0%,
		100% {
			transform: translateY(0);
		}
		50% {
			/* 2D位移 -15px 是向上走 */
			transform: translateY(-15px);
		}
	}
	@keyframes shadow {
		0%,
		100% {
			transform: scale(1);
		}
		50% {
			/* 缩放 .9比1小一点点 */
			transform: scale(0.9);
		}
	}